//
//  NSObject+Tools.h
//  YunGou
//
//  Created by macbook on 16/5/17.
//  Copyright © 2016年 macbook. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSObject (Tools)
/**将字典转换成模型*/
+ (instancetype)modelWithDict:(NSDictionary *)dict;
- (instancetype)initWithDict:(NSDictionary *)dict;

/**设置一个辅助对象*/
- (void)setAccessoryObject:(id)object;
/**得到辅助对象*/
- (id)getAccessoryObject;

+(id)classInitializtion;
+(id)nibInitializtion;
@end
